<template>
	<view class="">
		<!-- <back-fixed title="关于我们"></back-fixed> -->
		<view class="main">
			<view class="wrap"></view>
			<view class="img">
				<u-image :src="defalutImg" width="140rpx" height="140rpx"></u-image>
			</view>
			<view class="title">
				数字医生助手
			</view>
			<view class="line_box" v-for="value in list" :key="value.dictCode"  v-if="!isEmpty">
				<view class="">
					{{value.remark}}
				</view>
				<view class="phone">
					{{value.dictLabel}}
				</view>
			</view>
		</view>

	</view>
</template>

<script>
	import {aboutList} from '@/api/index.js'
	export default {
		data() {
			return {
				defalutImg: require('@/static/img/Login_logo.png'),
				list:{}
			}
		},
		onReady() {
			this.init()
		},
		computed:{
			isEmpty(){
				return JSON.stringify(this.list) === '{}'
			}
		},
		methods: {
			async init(){
				let res = await aboutList()
				if(res.code == 200){
					this.list = res.data
					//console.log(res);
				}
				
			}
		},
	}
</script>

<style lang="scss" scoped>
	.wrap {
		width: 100%;
		height: 20rpx;
		background-color: #F8F8F8;
	}

	.main {
		//padding-top: 30px;
		//background-color: #F8F8F8;
		.img{
			display: flex;
			justify-content: center;
			text-align: center;
			padding-top: 80rpx;
		}
		.title{
			margin-top: 40rpx;
			font-family: PingFang SC, PingFang SC;
			font-weight: bold;
			font-size: 40rpx;
			color: #212121;
			line-height: 47rpx;
			text-align: center;
			padding-bottom: 60rpx;
			border-bottom:1px solid #E8E8E8;
		}
		.line_box{
			display: flex;
			justify-content: space-between;
			padding:30rpx 24rpx ;
			font-family: PingFang SC, PingFang SC;
			font-weight: 500;
			font-size: 32rpx;
			color: #212121;
			line-height: 38rpx;
			border-bottom:1px solid #E8E8E8;
			.phone{
				color: #666666;
			}
		}
	}
</style>